/*
 * File:   rpc-fs_cliente.h
 * Author: Juan Manuel Cortez
 *
 * Created on 24 de agosto de 2009, 18:30
 */

#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
#include <unistd.h>
#include <time.h>
#include <string.h>
#include "rpc-fs.h"

#define FILE_PACKAGE_LENGTH 512
#define MAX_STRING_SIZE 512
#define ERROR -1
int isfirst = 1;
char cwd[MAX_STRING_SIZE];
CLIENT *rpc_client;

void create_rpc_client(char *host);
void ls(void);
void cd(char *argument);
void execute(CLIENT *cliente, char *command, char *argument, int argc);
void run_client(void);